<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		created() {
			let token = uni.getStorageSync('token')
			if (!token) {
				uni.navigateTo({
					url: '/pages/login/login'
				})
				return
			}
		}
	}
</script>

<style lang="scss">

	
</style>
